#!/usr/bin/env python
# -*- coding: UTF-8 -*-
#
# Copyright [Gtlions Lai].
# Create Date:
# Update Date:
"""summarization ahout this script.

detail ahout this script

   Class(): summarization about Class
   ...
   function(): summarization about function
   ...
"""
__authors__ = '"Gtlions Lai" <gtlions.l@qq.com>'

import sys
from PyQt4 import QtGui, QtCore

app = QtGui.QApplication(sys.argv)
b = QtGui.QPushButton('Hello Kitty!')
b.show()
# 连接方式1
# app.connect(b, QtCore.SIGNAL('clicked()'), app, QtCore.SLOT('quit()'))
# 或者更加简洁的方式连接
b.clicked.connect(app.quit)
app.exec_()